package com.ruoyi.project.mahjong.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 新开桌对象 t_open_table
 *
 * @author ruoyi
 * @date 2023-10-07
 */
@ApiModel("新开桌对象实体类字段描述")
public class TOpenTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 预留1 使用为 开桌时时间段或包场的费用*/
    @Excel(name = "预留1")
    @ApiModelProperty(value = "开桌时时间段或包场的费用")
    private String bak3;
    /** 暂停时间  */
    @ApiModelProperty(value = "暂停时间")
    private String tableStop;
//    @ApiModelProperty(value = "会员名称")
//    private String name;
    /** 暂停状态 0关闭 1 开启*/
    @ApiModelProperty(value = " 暂停状态 0关闭 1 开启")
    private String stopStatus;
    @ApiModelProperty(value = " 会员余额")
    private String memberMoney;

    /** 计费时间段名称 */
    @ApiModelProperty(value = "计费时间段名称")
    private String costTypeName;
    /** 超时费用 */
    @ApiModelProperty(value = "超时费用")
    private BigDecimal outTimeMoney;

    /** 商品消费金额 */
    @ApiModelProperty(value = "商品消费金额")
    private String productCostMoney;

    /** 占用时间 */
    @ApiModelProperty(value = "占用时间")
    private String useTime;
    /** 预留1 使用：订单编号 */
    @Excel(name = "订单编号")
    @ApiModelProperty(value = "订单编号")
    private String bak2;

    private String isDel;

    /** 预留1 使用 ：店铺id*/
    @Excel(name = "预留1")
    @ApiModelProperty(value = "预留1")
    private String bak1;

    /** 房间id */
    @Excel(name = "房间id")
    @ApiModelProperty(value = "房间id")
    private Long roomId;

    /** 桌号id */
    @Excel(name = "桌号id")
    @ApiModelProperty(value = "桌号id")
    private Long tableId;

    /** 员工id */
    @Excel(name = "员工id")
    @ApiModelProperty(value = "员工id")
    private String staffId;

    /** 人数 */
    @Excel(name = "人数")
    @ApiModelProperty(value = "人数")
    private Long peopleNumber;

    /** 计费类型 对应计费表id */
    @Excel(name = "计费类型 ：对应计费表id")
    @ApiModelProperty(value = "计费类型 对应计费表id")
    private String costType;

    /** 开桌时长 用处1 用于返回前端开桌时长字符串 2用于保存暂停开始时间 */
    @Excel(name = "开桌时长", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "用处1 用于返回前端开桌时长字符串 2用于保存暂停开始时间")
    private String openTime;

    /** 开始时间 */
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private String openStartTime;

    private String openStartTimes;
    /** 房间类型 */
    @Excel(name = "房间类型  (场地)")
    @ApiModelProperty(value = "房间类型  (场地)")
    private String roomType;

    /** 会员姓名 */
    @Excel(name = "会员姓名")
    @ApiModelProperty(value = "会员姓名")
    private String memberName;

    /** 会员id */
    @Excel(name = "会员id")
    @ApiModelProperty(value = "会员id")
    private String memberId;


    private String searchStartTime;


    private String searchEndTime;
    /** id */
    @ApiModelProperty(value = "id")
    private Long id;


    private BigDecimal money;

    private String status;

    private Long shopId;

    public void setBak3(String bak3)
    {
        this.bak3 = bak3;
    }

    public String getBak3()
    {
        return bak3;
    }
    public void setBak2(String bak2)
    {
        this.bak2 = bak2;
    }

    public String getMemberMoney() {
        return memberMoney;
    }

    public void setMemberMoney(String memberMoney) {
        this.memberMoney = memberMoney;
    }

    public String getBak2()
    {
        return bak2;
    }
    public void setBak1(String bak1)
    {
        this.bak1 = bak1;
    }

    public String getBak1()
    {
        return bak1;
    }
    public void setRoomId(Long roomId)
    {
        this.roomId = roomId;
    }

    public String getCostTypeName() {
        return costTypeName;
    }

    public void setCostTypeName(String costTypeName) {
        this.costTypeName = costTypeName;
    }

    public String getProductCostMoney() {
        return productCostMoney;
    }

    public void setProductCostMoney(String productCostMoney) {
        this.productCostMoney = productCostMoney;
    }

    public BigDecimal getOutTimeMoney() {
        return outTimeMoney;
    }

    public void setOutTimeMoney(BigDecimal outTimeMoney) {
        this.outTimeMoney = outTimeMoney;
    }

    public String getUseTime() {
        return useTime;
    }

    public void setUseTime(String useTime) {
        this.useTime = useTime;
    }

    public Long getRoomId()
    {
        return roomId;
    }
    public void setTableId(Long tableId)
    {
        this.tableId = tableId;
    }

    public Long getTableId()
    {
        return tableId;
    }
    public void setStaffId(String staffId)
    {
        this.staffId = staffId;
    }

    public String getStaffId()
    {
        return staffId;
    }
    public void setPeopleNumber(Long peopleNumber)
    {
        this.peopleNumber = peopleNumber;
    }

    public Long getPeopleNumber()
    {
        return peopleNumber;
    }
    public void setCostType(String costType)
    {
        this.costType = costType;
    }

    public String getCostType()
    {
        return costType;
    }
    public void setOpenTime(String openTime)
    {
        this.openTime = openTime;
    }

    public String getOpenTime()
    {
        return openTime;
    }
//    public void setOpenStartTime(Date openStartTime)
//    {
//        this.openStartTime = openStartTime;
//    }
//
//    public Date getOpenStartTime()
//    {
//        return openStartTime;
//    }

    public String getOpenStartTimes() {
        return openStartTimes;
    }

    public void setOpenStartTimes(String openStartTimes) {
        this.openStartTimes = openStartTimes;
    }

    public void setRoomType(String roomType)
    {
        this.roomType = roomType;
    }

    public String getRoomType()
    {
        return roomType;
    }
    public void setMemberName(String memberName)
    {
        this.memberName = memberName;
    }

    public String getMemberName()
    {
        return memberName;
    }
    public void setMemberId(String memberId)
    {
        this.memberId = memberId;
    }

    public String getMemberId()
    {
        return memberId;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public String getTableStop() {
        return tableStop;
    }

    public void setTableStop(String tableStop) {
        this.tableStop = tableStop;
    }

    public String getStopStatus() {
        return stopStatus;
    }

    public void setStopStatus(String stopStatus) {
        this.stopStatus = stopStatus;
    }

    public Long getId()
    {
        return id;
    }

    public String getOpenStartTime() {
        return openStartTime;
    }

    public void setOpenStartTime(String openStartTime) {
        this.openStartTime = openStartTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("bak3", getBak3())
            .append("bak2", getBak2())
            .append("bak1", getBak1())
            .append("roomId", getRoomId())
            .append("tableId", getTableId())
            .append("staffId", getStaffId())
            .append("remark", getRemark())
            .append("peopleNumber", getPeopleNumber())
            .append("costType", getCostType())
            .append("openTime", getOpenTime())
            .append("openStartTime", getOpenStartTime())
            .append("roomType", getRoomType())
            .append("memberName", getMemberName())
            .append("memberId", getMemberId())
            .append("costTypeName", getCostTypeName())
            .append("productCostMoney", getProductCostMoney())
            .append("useTime", getUseTime())
            .append("outTimeMoney", getOutTimeMoney())
            .append("stopStatus", getStopStatus())
            .append("tableStop", getTableStop())
            .append("id", getId())
            .toString();
    }

    public String getIsDel() {
        return isDel;
    }

    public void setIsDel(String isDel) {
        this.isDel = isDel;
    }

    public String getSearchStartTime() {
        return searchStartTime;
    }

    public void setSearchStartTime(String searchStartTime) {
        this.searchStartTime = searchStartTime;
    }

    public String getSearchEndTime() {
        return searchEndTime;
    }

    public void setSearchEndTime(String searchEndTime) {
        this.searchEndTime = searchEndTime;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }
}
